using UnityEngine;
using System.Collections;

public class destruir_bala : MonoBehaviour {
	
	public GameObject propriaBala; 
	
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	void OnTriggerEnter(Collider obstaculos)
		
	{
		
		if(obstaculos.gameObject.tag == "colliderA"){
			
			Destroy(propriaBala.gameObject);
		}
		
		
	}
}
